package com.iyjhsoc.game.controller;

import com.iyjhsoc.game.dao.GameKillInfoDAO;
import com.iyjhsoc.game.domain.VO.GameKillInfoVO;
import com.iyjhsoc.game.domain.entity.GameKillInfoDO;
import com.iyjhsoc.game.domain.response.Response;
import com.iyjhsoc.game.service.GameKillInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RequestMapping("iyj/game/killInfo")
@RestController
public class GameKillInfoController extends BaseController<GameKillInfoDAO, GameKillInfoDO, GameKillInfoVO>{


    @Autowired
    GameKillInfoService gameKillInfoService;
    @GetMapping("getOneKill")
    public Response getOneKill(GameKillInfoVO vo){
        return gameKillInfoService.getOneKill(vo);
    }

    @GetMapping("getPositionRare")
    public Response getPositionRare(GameKillInfoVO vo){
        return gameKillInfoService.getPositionRare(vo);
    }

    @GetMapping("giveOneKillRare")
    public Response giveOneKillRare(GameKillInfoVO vo){
        return gameKillInfoService.giveOneKillRare(vo);
    }

    @GetMapping("getKillData")
    public Response getKillData(GameKillInfoVO vo){
        return gameKillInfoService.getKillData(vo);
    }
}
